﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Demo.Models.Enum
{
    /// <summary>
    /// 微信菜单类型
    /// </summary>
    public static class WxMenueCategory
    {
        /// <summary>
        /// 普通菜单
        /// </summary>
        [Description("普通菜单")]
        public static  string Normal = "Normal";

        /// <summary>
        /// 个性菜单
        /// </summary>
        [Description("个性菜单")]
        public static  string Individual = "Individual";

        public static string ToDescription(string key)
        {
            string result = string.Empty;

            switch (key)
            {
                case "Normal":
                    result = "普通菜单";
                    break;
                case "Individual":
                    result = "个性菜单";
                    break;
            }

            return result;
        }

    }
}
